package com.jy.admin.enums;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2022/1/4
 * Time: 4:40 下午
 */
public enum OrderStatusEnum {
    init(0, "init"),
    active(1, "active"),
    updated(2, "updated"),
    removed(3, "removed"),
    paid_update(4, "paid_update"),
    other(5,"other"),
    refresh_failed(6,"refresh_failed")
    ;

    private Integer status;

    private String desc;

    OrderStatusEnum(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public Integer getStatus() {
        return status;
    }

    public OrderStatusEnum setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public OrderStatusEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }
}
